import request from '~/utils/request';

export function getSysParamList(data) {
    return request({
        url: '/System/GetSysParamList',
        method: 'post',
        data,
    });
}

export function getSysParamForKey(data) {
    return request({
        url: '/System/GetSysParamForKey',
        method: 'post',
        data,
    });
}

export function saveSysParamInfo(data) {
    return request({
        url: '/System/SaveSysParamInfo',
        method: 'post',
        data,
    });
}

export function getSysFeedbackList(data) {
    return request({
        url: '/System/GetSysFeedbackList',
        method: 'post',
        data,
    });
}

export function saveSysFeedbackInfo(data) {
    return request({
        url: '/System/SaveSysFeedbackInfo',
        method: 'post',
        data,
    });
}

export function getSysFeedbackForKey(data) {
    return request({
        url: '/System/GetSysFeedbackForKey?sysfeedback_id=' + data,
        method: 'get',
        data,
    });
}

export function getSysVersion(data) {
    return request({
        url: '/System/GetSysVersion',
        method: 'post',
        data,
    });
}

export function getSmsSignList(data) {
    return request({
        url: '/System/GetSmsSignList',
        method: 'post',
        data,
    });
}

export function getSmsSignAllList(data) {
    return request({
        url: '/System/GetSmsSignAllList',
        method: 'post',
        data,
    });
}

export function getSmsSignState(data) {
    return request({
        url: '/System/GetSmsSignState',
        method: 'post',
        data,
    });
}

export function getSmsTemplateList(data) {
    return request({
        url: '/System/GetSmsTemplateList',
        method: 'post',
        data,
    });
}

export function getSmsTemplateAllList(data) {
    return request({
        url: '/System/GetSmsTemplateAllList',
        method: 'post',
        data,
    });
}

export function getSmsTemplateState(data) {
    return request({
        url: '/System/GetSmsTemplateState',
        method: 'post',
        data,
    });
}

export function getSmsTemplateInfo(data) {
    return request({
        url: '/System/GetSmsTemplateInfo',
        method: 'post',
        data,
    });
}

export function saveSmsTemplateInfo(data) {
    return request({
        url: '/System/SaveSmsTemplateInfo',
        method: 'post',
        data,
    });
}
